package cas.ihep.util;

import java.io.Closeable;
import java.io.File;
import java.net.URI;

public class FileAD extends File implements Closeable{
    public FileAD(String pathname) {
        super(pathname);
    }

    public FileAD(String parent, String child) {
        super(parent, child);
    }

    public FileAD(File parent, String child) {
        super(parent, child);
    }

    public FileAD(URI uri) {
        super(uri);
    }

    @Override
    public void close() {
        //noinspection ResultOfMethodCallIgnored
        this.delete();
    }
}
